import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import { setupDirective } from './directive'
import App from './App.vue'
import 'virtual:svg-icons-register';
import 'uno.css';
import '@/assets/iconfont.css'
// 如果只想导入css变量
import 'element-plus/theme-chalk/dark/css-vars.css'
import '@/styles/dark/css-vars.css'
import '@/styles/element/index.scss'


import setupPlugins from "@/plugins";   


import * as ElementPlusIconsVue from '@element-plus/icons-vue'
const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
    }

app.use(createPinia())
app.use(setupPlugins);
setupDirective(app)
app.mount('#app')
